package com.byyy.ccts.modules.sys.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

/**
 * @Title:
 * @Description:
 * @author jeeweb
 * @date 2017-02-21 12:54:43
 * @version V1.0
 *
 */
@TableName("sys_user_datapermission")
@SuppressWarnings("serial")
public class UserDataPermission implements java.io.Serializable {

	/** 编号 */
	@TableId(value = "id", type = IdType.UUID)
	private String id;
	/** 功能权限编号 */
	private String datapermissionId;
	/** 角色编号 */
	private String userId;

	/**
	 * 获取 id
	 * 
	 * @return: String 编号
	 */
	public String getId() {
		return this.id;
	}

	/**
	 * 设置 id
	 * 
	 * @param: id
	 *             编号
	 */
	public void setId(String id) {
		this.id = id;
	}

	public String getDatapermissionId() {
		return datapermissionId;
	}

	public void setDatapermissionId(String datapermissionId) {
		this.datapermissionId = datapermissionId;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

}
